package com.cqjtu.platform.service;

import com.cqjtu.platform.entity.Resource;
import com.cqjtu.platform.utils.vo.ResourceVO;

import java.util.List;

/**
 * @author pengyangyan
 */
public interface ResourceService extends BaseService<Resource> {

    List<ResourceVO> getResourceTreeByRoleId(Integer roleId,Integer typeId);

    List<ResourceVO> getResourceTreeByUserId(Integer userId,Integer typeId);

    List<Resource> listUrlAndPermission();
}
